package cn.itcast.com.Map;

import java.util.HashMap;

/**
 * Created by 郭浩 on 2020/8/22 14:15
 */
public class mapAPI {
    public static void main(String[] args) {
        HashMap<String, String> map = new HashMap<>();
        System.out.println(map.isEmpty());
        map.put("a","13");
        map.put("b","14");
        map.put("c","15");
        map.put("d","16");
        System.out.println(map);
        System.out.println(map.isEmpty());
        System.out.println(map.size());
        System.out.println(map.containsKey("a"));

        System.out.println(map.containsValue("14"));
    }
}
